/*
 * MimeType.java
 *
 *  created: 1.9.2011
 *  charset: UTF-8
 *  license: MIT (X11) (See LICENSE file for full license)
 */
package cz.mp.k3bg.core;

import cz.mp.k3bg.log.LoggerManager;
import java.util.logging.Logger;

/**
 * Výčet mime typů (jen u typů souborů, které se používají v tomto programu).
 * 
 * @author Martin Pokorný
 * @version 0.1
 */
public enum MimeType {
        
    PNG("image/png"),
    JPEG("image/jpeg"),
    GIF("image/gif"),
    BMP("image/bmp"),

    CSS("text/css"),

    HTML("text/html"),
    XHTML("application/xhtml+xml"),
            
    NCX("application/x-dtbncx+xml"),
    
    OPF("application/oebps-package+xml"),
    
    TXT("text/plain"),
    XML("application/xml"),
    XML_TEXT("text/xml"),
    
    ZIP("application/zip"),
    
    MOBI("application/x-mobipocket-ebook"),
    ;
    
    // -----
    
    private static final boolean DEBUG = false;
    private static final Logger logger =
            LoggerManager.getLogger(MimeType.class, DEBUG);
    
    private String value;

    private MimeType(String value) {
        this.value = value;
    }

    public String getValue() {        
        return value;
    }

}   // MimeType.java

